// 自动生成模板CusOrderAssignments
package customer

import (
	"counter-help/admin/server/global"
)

// cusOrderAssignments表 结构体  CusOrderAssignments
type CusOrderAssignments struct {
	global.GVA_MODEL
	UserId  *int  `json:"userId" form:"userId" gorm:"column:user_id;comment:接单用户  user id;size:19;"`     //接单用户  user id
	OrderId *int  `json:"orderId" form:"orderId" gorm:"column:order_id;comment:对应订单  order id;size:19;"` //对应订单  order id
	IsFinal *bool `json:"isFinal" form:"isFinal" gorm:"column:is_final; default: 0; comment:是否是最终接单用户;"` //是否是最终接单用户
}

// TableName cusOrderAssignments表 CusOrderAssignments自定义表名 cus_order_assignments
func (CusOrderAssignments) TableName() string {
	return "cus_order_assignments"
}
